<%@ page language="java" import="java.util.*,com.wcll.www.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'showjianli.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
<% 
	if(request.getAttribute("al")!=null){
		ArrayList<JianLiBean> aa = (ArrayList<JianLiBean>)request.getAttribute("al");
		Iterator<JianLiBean> iaa = aa.iterator();
		%>
		<table width="100%" border="1" style="font-size:12px;text-align:center;">
			<tr>
				<td>编号 </td>
				<td>用户名</td>
				<td>姓名</td>
				<td>地区</td>
				<td>性别</td>
				<td>email</td>
				<td>电话</td>
				<td>家庭住址</td>
				<td>求职意向</td>
				<td>工作于教育</td>
				<td>具体操作</td>
				</tr>
<%
		while(iaa.hasNext()){
			JianLiBean jlb = iaa.next();
		%>
			<tr>
				<td><%=jlb.getId() %></td>
				<td><%=jlb.getGenid() %></td>
				<td><%=jlb.getGcname() %></td>
				<td><%=jlb.getDiqu() %></td>
				<td><%=jlb.getGcsex() %></td>
				<td><%=jlb.getGcemail() %></td>
				<td><%=jlb.getGcphone() %></td>
				<td><%=jlb.getGccontact() %></td>
				<td><a href="<%=basePath%>servlet/QiuYiServlet?genid=<%=jlb.getGenid() %>">查看</a></td>
				<td><a href="<%=basePath%>servlet/GongJiaoServlet?genid=<%=jlb.getGenid() %>">查看</a></td>
				<td><a href="<%=basePath%>servlet/GongJiaoServlet?genid=<%=jlb.getId()%>">删除</a></td>
			</tr>
		
	<% }}%>
  </body>
</html>
